package com.mdd.common.mapper.setting;

import com.mdd.common.core.basics.IBaseMapper;
import com.mdd.common.entity.setting.DictData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Value;

import java.math.BigDecimal;

/**
 * 字典数据Mapper
 */
@Mapper
public interface DictDataMapper extends IBaseMapper<DictData> {

	@Select("select value from la_dict_data where code = ${code}")
	String getValue(@Value("code") String code);
}
